package com.iedu.demo.lgq.service;

import com.iedu.demo.lgq.entity.TbCategory;

import java.util.List;

public interface CategoryService {
    List<TbCategory> getAllCategories();
    List<TbCategory> getSubCategoriesByParentId(Long parentId);
    TbCategory getCategoryById(Long categoryId);
    int insertCategory(TbCategory category);
    int updateCategory(TbCategory category);
    int deleteCategory(Long categoryId);
}
